package com.naiterui.ehp.bs.wechat.protocol.result;

import java.io.Serializable;

/**
 * @author zhoupeipei
 * @date 2019-05-08 15:53
 * @since 1.0.0
 */
public class CheckResult extends BaseResult implements Serializable {
    private static final long serialVersionUID = -6533217469424036797L;

    /**
     * 校验通过
     * @return
     */
    public boolean checkOk() {
        if (getErrorcode() != null && getErrorcode() == 0) {
            return true;
        }
        return false;
    }
}
